package com.bazaaroid.server.gae.core.dao.partner;

import java.util.List;

import javax.ws.rs.core.MultivaluedMap;

import com.bazaaroid.server.gae.core.dao.GenericDAO;
import com.bazaaroid.server.gae.core.persistence.model.partner.Partner;
import com.bazaaroid.server.gae.core.persistence.model.partner.Product;
import com.google.appengine.api.datastore.Key;

public interface ProductDAO extends GenericDAO<Product, Key> {

	List<Product> getProductsByPartner(Partner partner);

	List<Product> getProductsBySearchParams(String[] searchParams);

	List<Product> getProductsByQueryParams(MultivaluedMap<String, String> queryParams);

	Product getProductByPartnerAndLocalId(Partner partner, String localId);

	void importProductsFromFile(String filePath);
}
